Use the Win32 thread locale's first day of week setting on Win32.
authorTor Lillqvist <tml@novell.com>
Sat, 7 Oct 2006 21:32:53 +0000 (21:32 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sat, 7 Oct 2006 21:32:53 +0000 (21:32 +0000)
commite4581869b4a93ab882439673159a8f77b2396e57
tree8c6988b033ea422270fa493719e1e9abcef5dc5a
parentc52d217e07ddc2d3e236fd0a9d1749c3ba7c01df
Use the Win32 thread locale's first day of week setting on Win32.

2006-10-07  Tor Lillqvist  <tml@novell.com>

* gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
locale's first day of week setting on Win32. (#339752, Bogdan
Nicula) Don't do this if one of the environment variables that
affect gettext is set, though. In that case use the week start day
from the corresponding message catalog.

Unfortunately the same logic isn't possible in the weekday and
month name lookup; there even if you have set one of the
aforementioned environment variables, you still get the weekday
and month names from the Win32 thread locale. Yes, this is
inconsistent.

Use only wide-character API in the Win32 code in this file, too.
ChangeLog
gtk/gtkcalendar.c